﻿<cx:BaseFadeDialog x:Class="SSDM.UI.Options"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
     xmlns:cx="clr-namespace:SSDM.BaseUI"
    Title="Options" Height="280" Width="534" WindowStyle="ToolWindow">
    <Grid>
        <TabControl>
            <TabItem Header="General">
                <StackPanel>
                    <StackPanel Orientation="Horizontal">
                        <Label Height="27" Name="label1" VerticalAlignment="Top" Width="124">Main Window Style</Label>
                        <ComboBox ToolTip="Select Main IDE Style,this setting will effect at next time you open main window" Height="27"  Name="comboBox1" VerticalAlignment="Top" HorizontalAlignment="Right" Width="158" />
                    </StackPanel>
                    <CheckBox Name="checkBox1" Margin="0,10,0,0" VerticalAlignment="Top">Automatic backup old version db file before upgrade</CheckBox>
                    <CheckBox x:Name="chkIsUseSpeakInsteadOfMsg" Content="Is Use Voice To Notify Instead Of Message" Margin="0,10,0,0"></CheckBox>
                    <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
                        <Label Width="160" Content="Sql Command Text Font Size"></Label>
                        <TextBox x:Name="txtFontSize" Width="120"></TextBox>
                    </StackPanel>
                    <StackPanel Orientation="Horizontal" Margin="140,20,0,0">
                        <Button ToolTip="Accept all changes" Height="30" Width="80" MinWidth="40" MaxWidth="120" Name="butOK" Click="butOK_Click">OK</Button>
                        <Button Margin="10,0,0,0"  Content="Cancel" x:Name="butCancel"  Height="30"  Width="80" Click="butCancel_Click"></Button>
                    </StackPanel>

                </StackPanel>
            </TabItem>
            <TabItem Header="Reset">
                <StackPanel>
                    <Button Margin="5" Content="Clear Opened History Info" x:Name="butClearDbOpendHistoryInfo" Click="butClearDbOpendHistoryInfo_Click"/>
                </StackPanel>
            </TabItem>
        </TabControl>
    </Grid>
</cx:BaseFadeDialog>
